package com.shequan.shequan.dao;

import java.util.List;

import com.shequan.shequan.bean.pojo.Shequan;
	/**
	 * 
	 * <P>
	 * Copyright 2012 shequaner.
	 * 
	 * All Rights Reserved.
	* @author mazg
	 * @version 1.0, 2012-3-6
	 * @see com.shequan.shequan.dao.ShequanDAO 
	 * @since 1.0
	 */
public interface ShequanDAO {
    int deleteByPrimaryKey(Integer shequanId);

    int insert(Shequan record);

    int insertSelective(Shequan record);

    Shequan selectByPrimaryKey(Integer shequanId);

    int updateByPrimaryKeySelective(Shequan record);

    int updateByPrimaryKey(Shequan record);

	List<Shequan> queryShequanList(Integer userId);

	/**
	 * 根据用户ID，级联查询出社圈列表
	 * @param userName
	 * @return
	 */
	List<Shequan> selectByUserId(int userId);
}